﻿using System.Xml.Serialization;

namespace EkStudio.com.bean.xml.LoginConfig
{
    public class WebLoginItem
    {

        private int _loginType = 0;
        private string _loginUrl = "";
        private string _loginUser = "";
        private string _loginPwd = "";
        private bool _loginDefault = false;

        [XmlAttribute]
        public int LoginType
        {
            get
            {
                return _loginType;
            }

            set
            {
                _loginType = value;
            }
        }
        [XmlAttribute]
        public string LoginUrl
        {
            get
            {
                return _loginUrl;
            }

            set
            {
                _loginUrl = value;
            }
        }
        [XmlAttribute]
        public string LoginUser
        {
            get
            {
                return _loginUser;
            }

            set
            {
                _loginUser = value;
            }
        }
        [XmlAttribute]
        public string LoginPwd
        {
            get
            {
                return _loginPwd;
            }

            set
            {
                _loginPwd = value;
            }
        }
        [XmlAttribute]
        public bool LoginDefault
        {
            get
            {
                return _loginDefault;
            }

            set
            {
                _loginDefault = value;
            }
        }
    }
}
